package com.scut.online_black_market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 付费咨询实体
 * create by yellowBroke
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("consultation")
public class Consultation {

    @TableId(value = "consultation_id", type = IdType.AUTO)
    private BigInteger consultationId;

    private String consultationTitle;

    private float consultationPrice;

    private String consultationDescription;

    private int question_status;

    private String pictureLocation;

    private String proposer;

    private LocalDateTime askTime;

}
